{"version":3,"file":"imageuploader.bundle.map.js","names":["this","BX","exports","main_core","landing_imagecompressor","landing_backend","renameX","filename","x","name","replace","concat","util","getExtension","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","target","i","arguments","length","source","forEach","key","babelHelpers","defineProperty","getOwnPropertyDescriptors","defineProperties","ImageUploader","options","classCallCheck","uploadParams","additionalParams","dimensions","sizes","createClass","value","setSizes","getDimensions","entries","map","size","Number","parseInt","Type","isNumber","reduce","acc","_ref","_ref2","slicedToArray","upload","file","_this","undefined","Promise","all","isSvg","allowSvg","isStringFilled","type","includes","ImageCompressor","compress","then","files","uploads","currentFile","index","get","configurable","Backend","getInstance","Landing"],"sources":["imageuploader.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,GACrB,SAAUC,EAAQC,EAAUC,EAAwBC,GACpD,aAEA,SAASC,EAAQC,EAAUC,GACzB,IAAIC,EAAOF,EAASG,QAAQ,UAAW,IACvC,OAAOD,EAAOA,EAAKC,QAAQ,WAAY,IAAIC,OAAOH,EAAG,MAAMG,OAAOV,GAAGW,KAAKC,aAAaJ,KAAUA,CACnG,CAEA,SAASK,EAAQC,EAAQC,GAAkB,IAAIC,EAAOC,OAAOD,KAAKF,GAAS,GAAIG,OAAOC,sBAAuB,CAAE,IAAIC,EAAUF,OAAOC,sBAAsBJ,GAASC,IAAmBI,EAAUA,EAAQC,QAAO,SAAUC,GAAO,OAAOJ,OAAOK,yBAAyBR,EAAQO,GAAKE,UAAY,KAAKP,EAAKQ,KAAKC,MAAMT,EAAMG,EAAU,CAAE,OAAOH,CAAM,CAEpV,SAASU,EAAcC,GAAU,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAAS,MAAQF,UAAUD,GAAKC,UAAUD,GAAK,CAAC,EAAGA,EAAI,EAAIf,EAAQI,OAAOc,IAAU,GA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